package com.zjhcsoft.auth.service;

import com.zjhcsoft.auth.common.vo.Result;
import com.zjhcsoft.auth.entity.Account;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zjhcsoft.auth.entity.web.*;

/**
 * <p>
 * 账号表 服务类
 * </p>
 *
 * @author wzya
 * @since 2021-03-26
 */
public interface AccountService extends IService<Account> {

    /*通过渠道编号、法人编号、凭证 查询账户*/
    Account getAccountByChannelAndCorporationAndCredential(String channelCode, String corporationCode,String credential);
    /*通过渠道编号、法人编号、客户号 查询账户*/
    Account getAccountByChannelAndCorporationAndClientNo(String channelCode, String corporationCode,String clientNo);
    //Result updateMobile(UpdateMobileRequest request);
    //Result updateDevice(UpdateDeviceRequest request);
    //Result updatePassword(UpdatePasswordRequest request);
    Result queryDevice(QueryDeviceRequest request);
    Result queryCheckType(QueryCheckTypesRequest request);
    Result updateCheckType(UpdateCheckTypeRequest request);
    //Result queryCredential(QueryCredentialRequest request);
    //Result updateCredential(UpdateCredentialRequest request);
    Result queryUserInfo(QueryUserInfoRequest request);
    Result queryCorporation(QueryCorporationRequest request);
}
